﻿
import request from '@/utils/request'

const apiPrefix = process.env.VUE_APP_BASE_API

export const list = (params, config = {}) => {
  return request.post(apiPrefix + '/api/admin/api/get', params, config)
}
export const del = (params, config = {}) => {
  return request.delete(apiPrefix + '/api/admin/dictionary/add', { params: params, ...config })
}
export const update = (params, config = {}) => {
  return request.put(apiPrefix + '/api/admin/dictionary/add', params, config)
}

export const add = (params, config = {}) => {
  return request.post(apiPrefix + '/api/admin/api/getlist', params, config)
}

